package com.czy.controller;

import com.czy.common.annotation.SystemControllerLog;
import com.czy.common.model.Result;
import com.czy.service.DemoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author czy
 * @date 2021-5-19 11:44
 */
@RestController
@RequestMapping("/office")
@Api(value = "office模块",tags = "office模块")
@Slf4j
public class OfficeController {
    @Autowired
    private DemoService demoService;

    @GetMapping("/downWord")
    @ApiOperation(value = "下载")
    @SystemControllerLog(description = "测试api")
    public Result api(){
        return Result.success();
    }

}
